package org.apache.commons.pool2;

/**
 * 类的描述
 *
 * @author ztkool
 * @version v
 */
public abstract class BaseObject {

    @Override
    public String toString() {
        StringBuilder builder = new StringBuilder();
        builder.append(this.getClass().getSimpleName());
        builder.append(" [");
        this.toStringAppendFields(builder);
        builder.append("]");
        return builder.toString();
    }

    protected void toStringAppendFields(StringBuilder builder) {
    }

}
